package com.takeaway.service.Impl;

import com.takeaway.pojo.ProductCetegory;
import com.takeaway.mapper.ProductCategoryMapper;
import com.takeaway.pojo.ProductCetegory;
import com.takeaway.service.ProductCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;


/**
 * @ClassName:com.takeaway.service.Impl
 * @TODO:
 * @Author:Robbie
 * @Date:2021/7/30 20:38
 * @Version：0.0.1
 **/
public class ProductCategoryServiceImpl implements ProductCategoryService {
    @Autowired
    ProductCategoryMapper productCategoryMapper;

    @Override
    public int addCategory(ProductCetegory productCetegory) {
        int   count =   productCategoryMapper.addCategory(productCetegory);

        return count;
    }



    public List<ProductCetegory> showProductCategoryList() {
//       List<ProductCetegory> productCetegoryList = productCategoryMapper.showProductCategoryList();
        return null;
    }
}
